package service;

import common.util.PageBean;
import model.dto.SysUserDto;
import model.req.SysUserReq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: mapper.SysUsersMapper
 * @author: Xia
 * @create: 2023-03-09 16:10
 */
public interface SysUsersService {

    SysUserDto getSysUser(String account , String password);

    Integer addUser(SysUserReq sysUserReq);

    SysUserDto getUserById(Long id);

    PageBean<SysUserDto> page(Integer userType,String account, String userName,Integer index);

    List<SysUserDto> getDoctorList(Integer departmentId , String userName);
}
